package cn.edu.scau.cmi.linpeiwei.comprehension.domain;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

public class Teacher implements Serializable{
	public Teacher() {
		// TODO 自动生成的构造函数存根
	}
	
	private Long id;
	private String name;
	private Set students = new HashSet(0);
	
	/**
	 * Gettr 和 Setter
	 */
	
	public Long getId() {
		return id;
	}
	public String getName() {
		return name;
	}
	public Set getStudents() {
		return students;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public void setName(String name) {
		this.name = name;
	}
	public void setStudents(Set students) {
		this.students = students;
	}
	
	

}
